module.exports = {
  publicPath: '/',
  chainWebpack: config => {
    config.module
      .rule('fbx')
      .test(/\.fbx$/)
      .use('file-loader')
      .loader('file-loader')
      .end();
  },
    configureWebpack: {
      module: {
        rules: [
          {
            test: /\.fbx$/,
            use: 'file-loader',
          },
          {
            test: /\.fbx$/,
            use: {
              loader: 'url-loader',
            },
          },
        ],
      },
    },
  };